#ifndef CONTROLLER_H_
#define CONTROLLER_H_

#include "sdl.h"
#include "SDLCanvas.h"
#include "GLTextures.h"
#include "GLContext.h"
#include "GLScene.h"

namespace catan
{

class Controller
{
public:
	static void handleActiveEvent(SDL_Event &event, bool &isActive);
	static void handleVideoResize(SDL_Event &event, SDLCanvas &sdlCanvas, GLTextures &glTextures, GLContext &glContext);
	static void handleKeyDown(SDL_Event &event, GameState &gameState);
	static void handleMouseButtonDown(SDL_Event &event, GameState &gameState);
	static void handleMouseMotion(SDL_Event &event, GameState &gameState);
	static void handleQuit(GameState &gameState);
	
private:
	Controller();
};

}

#endif /*CONTROLLER_H_*/
